//
//  UserAccountViewModel.h
//  kuangjia
//
//  Created by 张帅 on 15/9/29.
//  Copyright © 2015年 ZhangShuai. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <ReactiveCocoa/ReactiveCocoa.h>
#import "UserAccountTool.h"

@interface UserAccountViewModel : NSObject

@property(nonatomic,copy) NSString* accessToken;

@property(nonatomic,strong) UserAccount *userAccount;

@property(nonatomic,strong)  NSURL *avatarUrl;

+(instancetype)sharedUserAccount;

@property(nonatomic,assign) BOOL userLogon;


-(RACSignal*)loadUserAccountCode:(NSString*) code;

@end
